tmem: fix minor accounting error
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:18:32 +0000 (11:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:18:32 +0000 (11:18 +0100)
commitf84ee327e5b8311dfa73f059453ef80a5e8a2af2
tree4486cf66719afe70bb74b5b1a529360a4369674b
parent78c4e40239a539a8df9529eaa7409abe464ab8f3
tmem: fix minor accounting error

Reset a counter when all tmem pages are released.  This
only affects status reporting (as displayed by xm tmem-list
or the just patched xenballoon-monitor) but the incorrectly
reported result is misleading.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
xen/common/tmem_xen.c